<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Yuzhihao
  Date: 2021/10/24
  Time: 19:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>订单详情</title>
    <link type="text/css" rel="stylesheet" href="fontsawesome/css/font-awesome.css"/>
    <link type="text/css" rel="stylesheet" href="css/style.css"/>
</head>
<body>
<div class="main_box">
    <div class="cont_box">
        <!--订单号-->
        <div class="user_top">订单号：<span>${byId.o_number}</span></div>
        <!--订单商品-->
        <div class="user_top order_top">订单商品：</div>
        <table border="0" cellspacing="0" cellpadding="0" class="table">
            <thead>
            <tr>
                <th>商品名称</th>
                <th>商品价格</th>
                <th>商品实际销售价格</th>
                <th>销售人员</th>
            </tr>
            </thead>
            <tbody>
            <c:forEach items="${all1}" var="allqw">
            <tr>
                <td>${allqw.pname}</td>
                <td>${allqw.price}</td>
                <td>${allqw.a_price}</td>
                <td>${allqw.s_name}</td>
            </tr>
            </c:forEach>
            </tbody>
        </table>
        <!--订单服务-->
        <div class="user_top order_top">订单服务：</div>
        <table border="0" cellspacing="0" cellpadding="0" class="table pre_table">
            <thead>
            <tr>
                <th>服务名称</th>
                <th>服务价格</th>
                <th>服务实际支付价格</th>
<%--                <th>施工人员</th>--%>
                <th>销售人员</th>
            </tr>
            </thead>
            <tbody>
            <c:forEach items="${all}" var="alls">
            <tr>
                <td>${alls.serv}</td>
                <td>${alls.price}</td>
                <td>${alls.ac_price}</td>
<%--                <td>李四</td>--%>
                <td>${alls.s_name}</td>
            </tr>
            </c:forEach>
            </tbody>
        </table>
        <!--订单备注-->
        <div class="user_top order_top">订单备注：</div>
        <textarea class="order_note" readonly>${byId.remark}</textarea>
    </div>
</div>
<!--javascript include-->
<script src="js/jquery-2.2.1.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/jquery.form.min.js"></script>
<script src="js/other.js"></script>
<script>
    $(function(){
        $("body").other({formId:"#editPro_form",formUrl:"#"});//formUrl 表单请求地址
    });
</script>
</body>
</html>
